<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('Member/membersource')}">会员来源列表</a></li>
			<li><a href="{:url('Member/membersourceadd')}">会员来源添加</a></li>
                        <li><a href="{:url('Member/cardclassify')}">会员次卡分类</a></li>
                        <li><a href="{:url('Member/cardclassifyadd')}">会员次卡分类添加</a></li>
		</ul>
            <if condition="$adminid eq 1">
        <form class="well form-inline margin-top-20" method="post" action="{:url('Member/membersource')}">
            <input type="text" class="form-control" name="user_login" style="width: 120px;" value="{:input('request.keyword')}" placeholder="手机号">
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:url('Member/membersource')}">清空</a>
        </form>
            </if>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
                                        <th>所属店铺</th>
					<th>名称</th>
                                        <th>操作</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>  
                                    <td>{$vo.shop_name}</td>
                                    <td>{$vo.source_name}</td>
                                    <td>
                                        <a href="{:url('Member/sourcedelete',array('nav_id'=>$vo['sou_guid']))}">删除</a>
                                    </td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>